const upload = {
	state: {
		formdata: {}
	},
	mutations: {
		SET_FILE: (state, data) =>{
			state.formdata.src = data
		}
	},
	actions: {
		setbase64({
			commit
		}, data) {
			commit('SET_FILE', data)
		}
	},
	getters: {
		formdata: (state) => state.formdata,
	}
}

export default upload;
